package com.briup.framework.utils.execption;

import com.briup.framework.utils.web.ResponseCode;

/**
 * @Author guomiao
 * @Date 2022/3/4 9:52
 */

public class AuthenticationException extends  BriupFrameworkException{
    public AuthenticationException() {
    }

    public AuthenticationException(String message) {
        this(message,ResponseCode.USER_NOT_LOGIN);
    }

    public AuthenticationException(String message, Throwable cause) {
        this(ResponseCode.USER_NOT_LOGIN,message, cause);
    }

    public AuthenticationException(String message, ResponseCode code) {
        super(message, code);
    }

    public AuthenticationException(ResponseCode code, String message, Throwable cause) {
        super(code, message, cause);
    }
}
